import Vue from 'vue'
import { Toast as Toast2 } from 'vant'
const Toast = ({ icon, message }) => {
  Toast2({
    icon,
    message,
    duration: 1000
  })
}
Vue.prototype.$Toast = Toast
